Aws\EndpointDiscovery\EndpointDiscoveryMiddleware S

Total Complexity 45
Dependencies 13
Dependents 1
Total lines 400
Lines of code 273
Logical lines of code 119
Comment lines 28
Methods 12
Properties 8

Methods 12

Method Rating Maintainability Complexity Lines of code
__invoke()
A
37 13 84
getDiscoveryCommand()
S
49 6 32
handleInvalidEndpoint()
S
50 5 30
parseEndpoint()
S
56 4 18
discoverEndpoint()
S
55 3 18
modifyRequest()
S
57 3 18
getIdentifiers()
S
62 3 12
handleDiscoveryException()
S
56 2 21
getCacheKey()
S
63 3 10
wrap()
S
63 1 14
__construct()
S
69 1 7
useOriginalUri()
S
66 1 9